home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day01 / nulltest.bpr < prev    next >
Encoding:
Text File  |  1998-02-08  |  3.9 KB  |  158 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.03
  15. # ---------------------------------------------------------------------------
  16. PROJECT = NullTest.exe
  17. OBJFILES = NullTest.obj
  18. RESFILES =
  19. RESDEPEN = $(RESFILES)
  20. LIBFILES =
  21. LIBRARIES = 
  22. SPARELIBS = 
  23. DEFFILE =
  24. PACKAGES = 
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHASM = .;
  28. PATHPAS = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)\lib\debug
  31. RELEASELIBPATH = $(BCB)\lib\release
  32. # ---------------------------------------------------------------------------
  33. CFLAG1 = -w -a1 -k -vi -c -tWC
  34. CFLAG2 = -I$(BCB)\include -D_NO_VCL
  35. CFLAG3 =
  36. PFLAGS = -U$(BCB)\lib;$(DEBUGLIBPATH) -I$(BCB)\include -D_NO_VCL -v -JPHN -M
  37. RFLAGS = -i$(BCB)\include -D_NO_VCL
  38. AFLAGS = /i$(BCB)\include /d_NO_VCL /mx /w2 /zd
  39. LFLAGS = -L$(BCB)\lib;$(DEBUGLIBPATH) -ap -Tpe -x -v
  40. IFLAGS =
  41. # ---------------------------------------------------------------------------
  42. ALLOBJ = c0x32.obj $(OBJFILES)
  43. ALLRES = $(RESFILES)
  44. ALLLIB = $(LIBFILES)  import32.lib cw32mt.lib
  45. # ---------------------------------------------------------------------------
  46. !ifdef IDEOPTIONS
  47.  
  48. [Version Info]
  49. IncludeVerInfo=0
  50. AutoIncBuild=0
  51. MajorVer=1
  52. MinorVer=0
  53. Release=0
  54. Build=0
  55. Debug=0
  56. PreRelease=0
  57. Special=0
  58. Private=0
  59. DLL=0
  60. Locale=1033
  61. CodePage=1252
  62.  
  63. [Version Info Keys]
  64. CompanyName=
  65. FileDescription=Executable (Console)
  66. FileVersion=1.0.0.0
  67. InternalName=
  68. LegalCopyright=
  69. LegalTrademarks=
  70. OriginalFilename=
  71. ProductName=
  72. ProductVersion=1.0.0.0
  73. Comments=
  74.  
  75. [Debugging]
  76. DebugSourceDirs=
  77.  
  78. [Parameters]
  79. RunParams=
  80. HostApplication=
  81.  
  82. !endif
  83.  
  84. # ---------------------------------------------------------------------------
  85. # MAKE SECTION
  86. # ---------------------------------------------------------------------------
  87. # This section of the project file is not used by the BCB IDE.  It is for
  88. # the benefit of building from the command-line using the MAKE utility.
  89. # ---------------------------------------------------------------------------
  90.  
  91. .autodepend
  92. # ---------------------------------------------------------------------------
  93. !if !$d(BCC32)
  94. BCC32 = bcc32
  95. !endif
  96.  
  97. !if !$d(DCC32)
  98. DCC32 = dcc32
  99. !endif
  100.  
  101. !if !$d(TASM32)
  102. TASM32 = tasm32
  103. !endif
  104.  
  105. !if !$d(LINKER)
  106. LINKER = ilink32
  107. !endif
  108.  
  109. !if !$d(BRCC32)
  110. BRCC32 = brcc32
  111. !endif
  112. # ---------------------------------------------------------------------------
  113. !if $d(PATHCPP)
  114. .PATH.CPP = $(PATHCPP)
  115. .PATH.C   = $(PATHCPP)
  116. !endif
  117.  
  118. !if $d(PATHPAS)
  119. .PATH.PAS = $(PATHPAS)
  120. !endif
  121.  
  122. !if $d(PATHASM)
  123. .PATH.ASM = $(PATHASM)
  124. !endif
  125.  
  126. !if $d(PATHRC)
  127. .PATH.RC  = $(PATHRC)
  128. !endif
  129. # ---------------------------------------------------------------------------
  130. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  131.     $(BCB)\BIN\$(LINKER) @&&!
  132.     $(LFLAGS) $(IFLAGS) +
  133.     $(ALLOBJ), +
  134.     $(PROJECT),, +
  135.     $(ALLLIB), +
  136.     $(DEFFILE), +
  137.     $(ALLRES)
  138. !
  139. # ---------------------------------------------------------------------------
  140. .pas.hpp:
  141.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  142.  
  143. .pas.obj:
  144.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  145.  
  146. .cpp.obj:
  147.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  148.  
  149. .c.obj:
  150.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  151.  
  152. .asm.obj:
  153.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  154.  
  155. .rc.res:
  156.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  157. # ---------------------------------------------------------------------------
  158.